<script setup lang="ts">
const { restart } = window.electron

import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

dayjs.locale('zh-cn')
function onRestart() {
  console.log('111', restart)
  restart()
}
</script>

<template>
  <a-config-provider :locale="zhCN">
    <router-view></router-view>
  </a-config-provider>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.logo {
  width: 400px;
  border-radius: 1rem;
  box-shadow:
    0 0 #0000,
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
</style>
